<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        var week=new Date().getDay();
        if(week==1){
            alert(' 周一，上班，开会');
        }
        else if(week==2){
            alert('周二，上班，团队讨论需求');
        }
        else if(week==3){
            alert('周三，上班，制定方案');
        }
        else if(week==4){
            alert('周四，上班，编写程序');
        }
        else if(week==5){
            alert('周五，上班，汇报工作');
        }
        else if(week==6){
            alert('周六，休息');
        }
        else if(week==0){
            alert('周日，休息');
        }
    </script>
</body>
</html>